package com.neo.impatient.C06_object.C06_06_enum

object EnumTest extends  Enumeration{

  val Red, Yellow, Green = Value


  def main(args: Array[String]): Unit = {

    println( EnumTest.Red)
    println(EnumTest2.Yellow)
  }
}

object EnumTest2 extends Enumeration{

  val Red = Value(3)
  val Yellow = Value("hh")
}